-- GENERATED SPELL FOR [Mage-Lieutenant Malister] --


function spell0_23888(pUnit, Event) --@Frost Armor,Self--
pUnit:FullCastSpellOnTarget(12544,pUnit)
pUnit:RegisterEvent('Sorts_23888', 0, 1)
end

function Sorts_23888(pUnit, Event)
local choix_sorts_23888 = math.random(0, 0)
if choix_sorts_23888 == 0 then
pUnit:RegisterEvent('spell0_23888', 1, 1)
end
end

function mob23888_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23888', math.random(1500, 3000), 1)
end

function mob23888_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23888_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob23888_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(23888, 1, 'mob23888_Action')
RegisterUnitEvent(23888, 2, 'mob23888_Leave')
RegisterUnitEvent(23888, 3, 'mob23888_Kill')
RegisterUnitEvent(23888, 4, 'mob23888_Die')
